import request from '../utils/request'
const getAllList = () => request({
  method: 'GET',
  url: '/v1_0/channels'
})
const login = (a, b) => request({
  method: 'POST',
  url: '/v1_0/authorizations',
  data: {
    mobile: a,
    code: b
  }
})
export {
  getAllList,
  login
}
